package com.geilizu.dom.service.impl;

import com.geilizu.dom.entity.DormitoryAdmin;
import com.geilizu.dom.entity.SystemAdmin;
import com.geilizu.dom.dao.SystemAdminDao;
import com.geilizu.dom.service.SystemAdminService;
import org.springframework.stereotype.Service;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageImpl;
import org.springframework.data.domain.PageRequest;

import javax.annotation.Resource;

/**
 * (SystemAdmin)表服务实现类
 *
 * @author makejava
 * @since 2022-07-12 21:46:39
 */
@Service("systemAdminService")
public class SystemAdminServiceImpl implements SystemAdminService {
    @Resource
    public SystemAdminDao systemAdminDao;
    @Override
    public SystemAdmin login(String username, String password) {
        return systemAdminDao.login(username,password);

    }
}
